home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 1 / ETO Development Tools 1.iso / Essentials / MacApp Documentation / MacApp AppleLink Messages / MacApp.Tech$ 4⁄13⁄90 / 1099-¿Getting Views to Ap-Apr90 < prev    next >
Encoding:
Text File  |  1990-04-16  |  1013 b   |  34 lines  |  [TEXT/GEOL]

  1. Item forwarded  by  A33          to A34
  2.  
  3. Item    4624732                         13-April-90        09:27PDT
  4.  
  5. From:   D0314                           Imageering Optical Disk Sys,PRT
  6.  
  7. To:     MACAPP.TECH$                    MacApp Technical
  8.  
  9. Sub:    ¿Getting Views to Appear?
  10.  
  11. This should be a fairly simple question.  I have a document that has 2 views.
  12. One view is opened when the document opens.  I overrode DoMenuCommand in my
  13. Document to handle the new Menu command that I added to show the second view.
  14.  
  15. Which of the following routines should I call to get the view to appear?
  16. Shouldn't they all work?  When should each routine be called?
  17.  
  18. TView.DrawContents
  19. TView.ForceRedraw
  20. TView.Show
  21. TView.ViewEnable
  22. TView.ShowReverted
  23. TView.Open
  24.  
  25. To get the first view to open with the document I had to call
  26. TView.ShowReverted in TMyDocument.DoMakeViews, as is done in the DemoText
  27. example.  Should I have called ShowWindows instead?
  28.  
  29. Confused,
  30. Reece Dike,
  31. Imageering Optical Disk Systems
  32. AppleLink:  D0314
  33.  
  34.